#define _CRT_SECURE_NO_WARNINGS 1
drwxr - xr - x 24 root root  4096 Sep  1 11:40 .. /
drwx------  3 root root  4096 Jul 22  2023.ansible /
drwxr - xr - x  2 root root  4096 Jul 22  2023.ansible_async /
-rw - r--r--  1 root root  4313 Sep 29 15 : 49.bash_history
- rw - r--r--  1 root root  3144 Jul 22  2023.bashrc
drwx------  2 root root  4096 Feb 10  2023.cache /
drwxr - xr - x  2 root root  4096 Sep 29 16 : 13 dir1 /
drwxr - xr - x  7 root root  4096 Jul 22  2023 docker - library /
-rw - r--r--  1 root root 21926 Jul 22  2023 get - docker.sh
- rw - r--r--  1 root root  1326 Jul 21  2023 githubclone.sh
- rw------ - 1 root root     0 Feb 10  2023.history
- rwxr - xr - x  1 root root 15353 Jul 22  2023 HSSInstall *
-rw------ - 1 root root    20 Sep 28 14:11.lesshst
drwxr - xr - x  8 root root  4096 Jul 22  2023 library /
drwxr - xr - x  3 root root  4096 Sep 28 19 : 20.local /
-rw - r--r--  1 root root   161 Jul  9  2019.profile
drwx------  4 root root  4096 Jul 22  2023 snap /
drwx------  2 root root  4096 Sep  1 11 : 33.ssh /
drwxr - xr - x  9 root root  4096 Jul 22  2023 stackhub /
-rw------ - 1 root root   732 Sep 29 15 : 49.viminfo
- rw - r--r--  1 root root   173 Jul 22  2023.wget - hsts
- rw------ - 1 root root   118 Sep 29 15 : 50.Xauthority
root@hcss - ecs - 1a2a:~# cd dir1
root@hcss - ecs - 1a2a:~/ dir1# tree
.

0 directories, 0 files
root@hcss - ecs - 1a2a:~/ dir1# touch 1
root@hcss - ecs - 1a2a:~/ dir1# touch 2
root@hcss - ecs - 1a2a:~/ dir1# touch 3
root@hcss - ecs - 1a2a:~/ dir1# ll
total 8
drwxr - xr - x  2 root root 4096 Sep 29 17:19 . /
drwx------ 12 root root 4096 Sep 29 16 : 13 .. /
-rw - r--r--  1 root root    0 Sep 29 17 : 19 1
- rw - r--r--  1 root root    0 Sep 29 17 : 19 2
- rw - r--r--  1 root root    0 Sep 29 17 : 19 3
root@hcss - ecs - 1a2a:~/ dir1# tree
.
├── 1
├── 2
└── 3

0 directories, 3 files
root@hcss - ecs - 1a2a:~/ dir1# pwd
/ root / dir1
root@hcss - ecs - 1a2a:~/ dir1# ls
1  2  3
root@hcss - ecs - 1a2a:~/ dir1# pwd
/ root / dir1
root@hcss - ecs - 1a2a:~/ dir1# ll
total 8
drwxr - xr - x  2 root root 4096 Sep 29 17:19 . /
drwx------ 12 root root 4096 Sep 29 16 : 13 .. /
-rw - r--r--  1 root root    0 Sep 29 17 : 19 1
- rw - r--r--  1 root root    0 Sep 29 17 : 19 2
- rw - r--r--  1 root root    0 Sep 29 17 : 19 3
root@hcss - ecs - 1a2a:~/ dir1# tree
.
├── 1
├── 2
└── 3

0 directories, 3 files
root@hcss - ecs - 1a2a:~/ dir1# pwd
/ root / dir1
root@hcss - ecs - 1a2a:~/ dir1# rm 1
root@hcss - ecs - 1a2a:~/ dir1# rm 2
root@hcss - ecs - 1a2a:~/ dir1# rm 3
root@hcss - ecs - 1a2a:~/ dir1# pwd
/ root / dir1
root@hcss - ecs - 1a2a:~/ dir1# ll
total 8
drwxr - xr - x  2 root root 4096 Sep 29 17:23 . /
drwx------ 12 root root 4096 Sep 29 16 : 13 .. /
root@hcss - ecs - 1a2a:~/ dir1# ls
root@hcss - ecs - 1a2a:~/ dir1# ll
total 8
drwxr - xr - x  2 root root 4096 Sep 29 17:23 . /
drwx------ 12 root root 4096 Sep 29 16 : 13 .. /
root@hcss - ecs - 1a2a:~/ dir1# pwd
/ root / dir1
root@hcss - ecs - 1a2a:~/ dir1# ll
total 8
drwxr - xr - x  2 root root 4096 Sep 29 17:23 . /
drwx------ 12 root root 4096 Sep 29 16 : 13 .. /
root@hcss - ecs - 1a2a:~/ dir1# pwd
/ root / dir1
root@hcss - ecs - 1a2a:~/ dir1# ls - l
total 0
root@hcss - ecs - 1a2a:~/ dir1# touch 1
root@hcss - ecs - 1a2a:~/ dir1# touch 2
root@hcss - ecs - 1a2a:~/ dir1# touch 3
root@hcss - ecs - 1a2a:~/ dir1# pwde
Command 'pwde' not found, did you mean :
command 'pwd' from deb coreutils(8.32 - 4.1ubuntu1.2)
command 'pwdx' from deb procps(2:3.3.17 - 6ubuntu2.1)
Try : apt install <deb name>
root@hcss - ecs - 1a2a:~/ dir1# pwd
/ root / dir1
root@hcss - ecs - 1a2a:~/ dir1# ll
total 8
drwxr - xr - x  2 root root 4096 Sep 29 17:24 . /
drwx------ 12 root root 4096 Sep 29 16 : 13 .. /
-rw - r--r--  1 root root    0 Sep 29 17 : 24 1
- rw - r--r--  1 root root    0 Sep 29 17 : 24 2
- rw - r--r--  1 root root    0 Sep 29 17 : 24 3
root@hcss - ecs - 1a2a:~/ dir1# ls - l
total 0
- rw - r--r-- 1 root root 0 Sep 29 17:24 1
- rw - r--r-- 1 root root 0 Sep 29 17 : 24 2
- rw - r--r-- 1 root root 0 Sep 29 17 : 24 3
root@hcss - ecs - 1a2a:~/ dir1# pwd
/ root / dir1
root@hcss - ecs - 1a2a:~/ dir1# cd..
cd..: command not found
root@hcss - ecs - 1a2a:~/ dir1# pwd
/ root / dir1
root@hcss - ecs - 1a2a:~/ dir1# cd ..
root@hcss - ecs - 1a2a:~# pwd
/ root
root@hcss - ecs - 1a2a:~# ll
total 124
drwx------ 12 root root  4096 Sep 29 16:13 . /
drwxr - xr - x 24 root root  4096 Sep  1 11 : 40 .. /
drwx------  3 root root  4096 Jul 22  2023.ansible /
drwxr - xr - x  2 root root  4096 Jul 22  2023.ansible_async /
-rw - r--r--  1 root root  4313 Sep 29 15 : 49.bash_history
- rw - r--r--  1 root root  3144 Jul 22  2023.bashrc
drwx------  2 root root  4096 Feb 10  2023.cache /
drwxr - xr - x  2 root root  4096 Sep 29 17 : 24 dir1 /
drwxr - xr - x  7 root root  4096 Jul 22  2023 docker - library /
-rw - r--r--  1 root root 21926 Jul 22  2023 get - docker.sh
- rw - r--r--  1 root root  1326 Jul 21  2023 githubclone.sh
- rw------ - 1 root root     0 Feb 10  2023.history
- rwxr - xr - x  1 root root 15353 Jul 22  2023 HSSInstall *
-rw------ - 1 root root    20 Sep 28 14:11.lesshst
drwxr - xr - x  8 root root  4096 Jul 22  2023 library /
drwxr - xr - x  3 root root  4096 Sep 28 19 : 20.local /
-rw - r--r--  1 root root   161 Jul  9  2019.profile
drwx------  4 root root  4096 Jul 22  2023 snap /
drwx------  2 root root  4096 Sep  1 11 : 33.ssh /
drwxr - xr - x  9 root root  4096 Jul 22  2023 stackhub /
-rw------ - 1 root root   732 Sep 29 15 : 49.viminfo
- rw - r--r--  1 root root   173 Jul 22  2023.wget - hsts
- rw------ - 1 root root   118 Sep 29 15 : 50.Xauthority
root@hcss - ecs - 1a2a:~# cd dir1
root@hcss - ecs - 1a2a:~/ dir1# pwd
/ root / dir1
root@hcss - ecs - 1a2a:~/ dir1# ll
total 8
drwxr - xr - x  2 root root 4096 Sep 29 17:24 . /
drwx------ 12 root root 4096 Sep 29 16 : 13 .. /
-rw - r--r--  1 root root    0 Sep 29 17 : 24 1
- rw - r--r--  1 root root    0 Sep 29 17 : 24 2
- rw - r--r--  1 root root    0 Sep 29 17 : 24 3
root@hcss - ecs - 1a2a:~/ dir1# mkdir dir2
root@hcss - ecs - 1a2a:~/ dir1# ls - l
total 4
- rw - r--r-- 1 root root    0 Sep 29 17:24 1
- rw - r--r-- 1 root root    0 Sep 29 17 : 24 2
- rw - r--r-- 1 root root    0 Sep 29 17 : 24 3
drwxr - xr - x 2 root root 4096 Sep 29 17 : 32 dir2
root@hcss - ecs - 1a2a:~/ dir1# rm dir2
rm : cannot remove 'dir2' : Is a directory
root@hcss - ecs - 1a2a:~/ dir1# rm - r dir2
root@hcss - ecs - 1a2a:~/ dir1# ll
total 8
drwxr - xr - x  2 root root 4096 Sep 29 17:32 . /
drwx------ 12 root root 4096 Sep 29 16 : 13 .. /
-rw - r--r--  1 root root    0 Sep 29 17 : 24 1
- rw - r--r--  1 root root    0 Sep 29 17 : 24 2
- rw - r--r--  1 root root    0 Sep 29 17 : 24 3
root@hcss - ecs - 1a2a:~/ dir1# pwd
/ root / dir1
root@hcss - ecs - 1a2a:~/ dir1# ls - l
total 0
- rw - r--r-- 1 root root 0 Sep 29 17:24 1
- rw - r--r-- 1 root root 0 Sep 29 17 : 24 2
- rw - r--r-- 1 root root 0 Sep 29 17 : 24 3
root@hcss - ecs - 1a2a:~/ dir1# rmdir dir2
rmdir : failed to remove 'dir2' : No such file or directory
root@hcss - ecs - 1a2a:~/ dir1# mkdir dir2
root@hcss - ecs - 1a2a:~/ dir1# ls - l
total 4
- rw - r--r-- 1 root root    0 Sep 29 17:24 1
- rw - r--r-- 1 root root    0 Sep 29 17 : 24 2
- rw - r--r-- 1 root root    0 Sep 29 17 : 24 3
drwxr - xr - x 2 root root 4096 Sep 29 17 : 33 dir2
root@hcss - ecs - 1a2a:~/ dir1# mkdir - p dir2 / dir3 / dir4
root@hcss - ecs - 1a2a:~/ dir1# tree
.
├── 1
├── 2
├── 3
└── dir2
└── dir3
└── dir4

3 directories, 3 files
root@hcss - ecs - 1a2a:~/ dir1# pwd
/ root / dir1
root@hcss - ecs - 1a2a:~/ dir1# rmdir dir2
rmdir : failed to remove 'dir2' : Directory not empty
root@hcss - ecs - 1a2a:~/ dir1# cd dir2
root@hcss - ecs - 1a2a:~/ dir1 / dir2# cd dir3
root@hcss - ecs - 1a2a:~/ dir1 / dir2 / dir3# cd dir4
root@hcss - ecs - 1a2a:~/ dir1 / dir2 / dir3 / dir4# pwd
/ root / dir1 / dir2 / dir3 / dir4
root@hcss - ecs - 1a2a:~/ dir1 / dir2 / dir3 / dir4# rmdir dir4
rmdir : failed to remove 'dir4' : No such file or directory
root@hcss - ecs - 1a2a:~/ dir1 / dir2 / dir3 / dir4# cd ..
root@hcss - ecs - 1a2a:~/ dir1 / dir2 / dir3# pwd
/ root / dir1 / dir2 / dir3
root@hcss - ecs - 1a2a:~/ dir1 / dir2 / dir3# rmdir dir4
root@hcss - ecs - 1a2a:~/ dir1 / dir2 / dir3# cd..
cd..: command not found
root@hcss - ecs - 1a2a:~/ dir1 / dir2 / dir3# cd ..
root@hcss - ecs - 1a2a:~/ dir1 / dir2# cd ..
root@hcss - ecs - 1a2a:~/ dir1# pwd
/ root / dir1
root@hcss - ecs - 1a2a:~/ dir1# treee
Command 'treee' not found, did you mean :
command 'tree' from snap tree(1.8.0 + pkg - 3fd6)
command 'tree' from deb tree(2.0.2 - 1)
See 'snap info <snapname>' for additional versions.
root@hcss - ecs - 1a2a:~/ dir1# tree
.
├── 1
├── 2
├── 3
└── dir2
└── dir3

2 directories, 3 files
root@hcss - ecs - 1a2a:~/ dir1# pwd
/ root / dir1
root@hcss - ecs - 1a2a:~/ dir1# rm 1
root@hcss - ecs - 1a2a:~/ dir1# tree
.
├── 2
├── 3
└── dir2
└── dir3

2 directories, 2 files
root@hcss - ecs - 1a2a:~/ dir1# pwd
/ root / dir1
root@hcss - ecs - 1a2a:~/ dir1# rm dir2
rm : cannot remove 'dir2' : Is a directory
root@hcss - ecs - 1a2a:~/ dir1# pwd
/ root / dir1
root@hcss - ecs - 1a2a:~/ dir1# rm - r dir2
root@hcss - ecs - 1a2a:~/ dir1# tree
.
├── 2
└── 3

0 directories, 2 files
root@hcss - ecs - 1a2a:~/ dir1# pwd
/ root / dir1
root@hcss - ecs - 1a2a:~/ dir1# ls
2  3
root@hcss - ecs - 1a2a:~/ dir1# ls - d
.
root@hcss - ecs - 1a2a:~/ dir1# ls - d dir1
ls : cannot access 'dir1' : No such file or directory
root@hcss - ecs - 1a2a:~/ dir1# pwd
/ root / dir1
root@hcss - ecs - 1a2a:~/ dir1# ls - d dir1
ls : cannot access 'dir1' : No such file or directory
root@hcss - ecs - 1a2a:~/ dir1# ls - d dir2
ls : cannot access 'dir2' : No such file or directory
root@hcss - ecs - 1a2a:~/ dir1#    ^ C
root@hcss - ecs - 1a2a:~/ dir1# 
Socket error Event : 32 Error : 10053.
Connection closing...Socket close.

Connection closed by foreign host.

Disconnected from remote host(王涛涛的linux学习机) at 18 : 44 : 22.

Type `help' to learn how to use Xshell prompt.
[C:\~]$
[C:\~]$
